package com.realtyreg.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import com.realtyreg.domain.entity.users.User;

/**
 * Created by Petro 02.02.13 20:38
 */
public interface UserRepository extends JpaRepository<User, Long> {

    /**
     * Найти юзера по email
     * @param email    email юзера
     * @return юзер
     */
    User findByEmail(String email);
}
